#!/system/bin/sh
#
# load multitouch module

# Module location

# no multi touch modules for cliq2 now, so exit it
exit 0

MODULE="/system/lib/modules/defy_more.ko"

# Max number of fingers
MAX_TOUCH=`getprop persist.input.multitouch_points`

# Load the module if MAX_TOUCH > 2
if [ -n "$MAX_TOUCH" ]; then
  if [ $MAX_TOUCH -gt 2 ]; then
    insmod $MODULE touch_num=$MAX_TOUCH
  fi
fi

